<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改月度汇总表')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-monthly-edit" th:object="${alpMonthly}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">负责人：</label>
                <div class="col-sm-8">
                    <input name="xsPrincipalName" th:field="*{xsPrincipalName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">部门：</label>
                <div class="col-sm-8">
                    <input name="salesDepartmentTwo" th:field="*{salesDepartmentTwo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月预算：</label>
                <div class="col-sm-8">
                    <input name="m1Budget" th:field="*{m1Budget}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月预测：</label>
                <div class="col-sm-8">
                    <input name="m1Predict" th:field="*{m1Predict}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月实际：</label>
                <div class="col-sm-8">
                    <input name="m1Actual" th:field="*{m1Actual}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月完成率：</label>
                <div class="col-sm-8">
                    <input name="m1FinishrateBudget" th:field="*{m1FinishrateBudget}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月完成率：</label>
                <div class="col-sm-8">
                    <input name="m1FinishratePredict" th:field="*{m1FinishratePredict}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">一月余额：</label>
                <div class="col-sm-8">
                    <input name="m1Remainsum" th:field="*{m1Remainsum}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/monthly";
        $("#form-monthly-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-monthly-edit').serialize());
            }
        }
    </script>
</body>
</html>